package com.imooc.imoocbilibili.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imooc.imoocbilibili.entity.Danmu;

/**
 * 弹幕记录表
 *
 * @author jl
 * @since 2022-04-10 19:51:13
 */
public interface DanmuService extends IService<Danmu> {

    Page<Danmu> queryPage(Integer pageNo, Integer pageSize);

    void saveDanmuToRedis(Danmu danmu);
}

